<?php if (!defined('LEGAL_INNER_USE')){die('ILLEGAL USING!');}?>
<div class="container" id="navbar">
	<div class="row">
		<a href="<?= makeUrl('index')?>" id="logo" class="span2 hidden-phone"></a>
		<div class="navbar span10">
			<div class="navbar-inner">
				<div class="container">
					<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
					</a>
					<a class="brand visible-phone" href="<?= makeUrl('index')?>"><img src="./ui/imgs/logoNav.png" alt="HOLI" /></a>
					<div class="nav-collapse collapse navbar-responsive-collapse">
						<ul class="nav">
							<li<?= MAIN_PAGE=='index'?' class="active"':''?>><a href="<?= makeUrl('index')?>">主页</a></li>
							<li class="dropdown<?= (MAIN_PAGE=='products' || MAIN_PAGE=='allProducts')?' active':''?>">
								<a data-toggle="dropdown" class="dropdown-toggle" href="<?= makeUrl('products')?>">所有产品 <b class="caret"></b></a>
								<?php
								echo $categories -> getTopNavCatesMenus($categories -> ExtTreeData($catesSorted));
								?>
							</li>
							<li<?= MAIN_PAGE=='goodsToKnow'?' class="active"':''?>><a href="<?= makeUrl('goodsToKnow')?>">保养系法</a></li>
							<li<?= MAIN_PAGE=='shops'?' class="active"':''?>><a href="<?= makeUrl('shops')?>">实体店</a></li>
							<li<?= MAIN_PAGE=='joinUs'?' class="active"':''?>><a href="<?= makeUrl('joinUs')?>">诚招代理</a></li>
							<li<?= MAIN_PAGE=='customization'?' class="active"':''?>><a href="<?= makeUrl('customization')?>">企业定制</a></li>
							<li<?= MAIN_PAGE=='contact_us'?' class="active"':''?>><a href="<?= makeUrl('contact_us')?>">联系我们</a></li>
							
							
							<li class="dropdown followUs">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown">关注我们 <b class="caret"></b></a>
								<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
									<li class="weibo"><a tabindex="-1" target="_blank" href="http://www.weibo.com/u/3233340324">新浪微博 —— @HOLI豪礼</a></li>
									<li class="weixin"><a tabindex="-1" href="#">腾讯微信 —— HoliNewYork</a></li>
								</ul>							
							</li>
						</ul>
						<div class="nav pull-right">
							<form id="headerSearch" action="<?= makeUrl('searchResult')?>" class="navbar-search pull-left">
								<input type="text" placeholder="搜索" class="search-query span2" name="k">
								<input type="hidden" name="main_page" value="searchResult" />
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="container hidden-phone">
	<div class="row">
		<div class="span8 offset4" id="idLike"></div>
	</div>
</div>



